package com.waitingresult.oop.clazz;

/**
 * ALL right reserved,Designed By WangShuai
 *
 * @author : WangShuai
 * @ClassName: AnimalMain
 * @Description:
 * @date: 2021/10/31 19:06
 * @version: 1.0
 */

public class AnimalMain {
    public static void main(String[] args) {

        Animal a = new Cat();
        Animal b = new Dog();

        a.eat();
        b.eat();
    }

}
